package client

import (
	"learning/gooop/etcd/raft/config"
	"net/rpc"
)

type iStateContext interface {
	Config() config.IRaftConfig
	Peer() config.IRaftNodeConfig
	GetConn() *rpc.Client
	SetConn(client *rpc.Client)
	HandleStateChanged(state iClientState)
}
